package hesso.smartdraw.ch.guielements;

import org.anddev.andengine.entity.primitive.Line;
import org.anddev.andengine.entity.scene.Scene;

public class WallFloor {
	
	private Scene scene;
	
	
	
	public WallFloor(Scene scene) {
		
		this.scene = scene;

	}
	
	public void drawWallFloor() {
		
			for(int i = 0; i < 2000; i += 15) {
				
				Line tempLineV = new Line(0-1000 + 300 + i, 250 + 200,0-2000 + i*2,  1000, 1);
				tempLineV.setColor(0.3f, 0.3f, 0.3f);
				Line tempLineH = new Line(0-1000 + 300, 250 + 200 + i, 300 + 1000,  250 + 200 + i, 1);
				tempLineH.setColor(0.3f, 0.3f, 0.3f);
				Line tempLineVB = new Line(0-1000 + 300 + i,250 + 200 - 2000,0-1000 + 300 + i,  250 + 200, 1);
				tempLineH.setColor(0.3f, 0.3f, 0.3f);
				
	
				scene.attachChild(tempLineV);
				scene.attachChild(tempLineH);
				scene.attachChild(tempLineVB);
				

			}
	}
}
